package com.ylq.dao;

import com.ylq.entity.Modules;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author qiang
 * @Description TODO
 * @Date 2020-05-02
 **/
public interface RoleModulesDao {

    /**
     * 根据角色ID查所有模块信息
     */
    List<Modules> selByRoleId(@Param("roleId")String roleId);
    //删除
    int deletePid(@Param("rId")String rId);
    //添加
    int setSysRights(@Param("parentIdss")String parentIdss, @Param("rId")String rId);
}
